package com.senlingspace.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.senlingspace.common.annotation.Excel;
import com.senlingspace.common.core.domain.BaseEntity;

/**
 * 门店组队信息对象 slk_team_status
 * 
 * @author SenlingSpace
 * @date 2024-08-19
 */
public class SlkTeamStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 组队主键 */
    @Excel(name = "组队主键")
    private Long teamId;

    /** 组队名 */
    @Excel(name = "组队名")
    private String teamName;

    /** 门店ID */
    @Excel(name = "门店ID")
    private Long shopId;

    /** 组队状态（ INIT-未使用 CREATE-使用中 BROWSE-浏览中 SUCCESS-已完成） */
    @Excel(name = "组队状态", readConverterExp = "I=NIT-未使用,C=REATE-使用中,B=ROWSE-浏览中,S=UCCESS-已完成")
    private String teamStatus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long deptId;

    /** 队伍总容纳人数 */
    @Excel(name = "${totalNum}", readConverterExp = "$column.readConverterExp()")
    private int totalNum = 5;

    /** 当前队伍中人数 */
    @Excel(name = "${curNum}", readConverterExp = "$column.readConverterExp()")
    private int curNum = 0;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public int getCurNum() {
        return curNum;
    }

    public void setCurNum(int curNum) {
        this.curNum = curNum;
    }

    public void setTeamId(Long teamId)
    {
        this.teamId = teamId;
    }

    public Long getTeamId() 
    {
        return teamId;
    }
    public void setTeamName(String teamName) 
    {
        this.teamName = teamName;
    }

    public String getTeamName() 
    {
        return teamName;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setTeamStatus(String teamStatus) 
    {
        this.teamStatus = teamStatus;
    }

    public String getTeamStatus() 
    {
        return teamStatus;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teamId", getTeamId())
            .append("teamName", getTeamName())
            .append("shopId", getShopId())
            .append("teamStatus", getTeamStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .toString();
    }
}
